:root {
  --color-bg-dark: #0f1115;
  --color-bg-light: #ffffff;
  --color-primary: #1a1d24;
  --color-accent: #d4af37; /* Metallic Gold */
  --color-text-main: #ffffff;
  --color-text-muted: #a0a0a0;
  --color-text-dark: #1a1d24;

  /* --font-heading: "Syne", sans-serif; */
  --font-heading: "Red Rose", serif;
  --font-body: "Inter", sans-serif;

  --container-width: 1280px;
  --padding-section: 120px 0;

  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* DEBUG MODE*/
/* * {
  outline: 1px dashed rgba(255, 0, 0, 0.3) !important;
} */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
}

.text-accent {
  color: var(--color-accent);
}
.text-white {
  color: var(--color-text-main) !important;
}
.text-gray {
  color: var(--color-text-muted) !important;
}
.text-stroke {
  -webkit-text-stroke: 1px var(--color-text-main);
  color: transparent;
}

.bg-dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: var(--padding-section);
}

a {
  text-decoration: none;
  color: inherit;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-bg-dark);
  padding: 12px 28px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background-color: #bfa030;
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  padding: 16px 36px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  transition: var(--transition-smooth);
  background: transparent;
}

.btn-secondary:hover {
  background: white;
  color: var(--color-bg-dark);
}

.btn-link {
  color: var(--color-accent);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  position: relative;
  padding-bottom: 4px;
}

.btn-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.btn-link:hover::after {
  width: 100%;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 24px 0;
  background: transparent;
  color: var(--color-text-main);
  transition:
    background 0.4s ease,
    box-shadow 0.4s ease,
    color 0.4s ease,
    padding 0.4s ease;
}

.navbar.scrolled {
  background: #ffffff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  color: var(--color-text-dark);
  padding: 16px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-img {
  height: 70px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 48px;
  list-style: none;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.nav-link:hover {
  opacity: 1;
}

.nav-link.btn-primary {
  color: var(--color-bg-dark);
  opacity: 1;
  /* fix mix blend mode issue on button */
  mix-blend-mode: normal;
}

/* Submenu Dropdown */
.has-submenu {
  position: relative;
}

.submenu-arrow {
  font-size: 0.6rem;
  margin-left: 4px;
  vertical-align: middle;
  display: inline-block;
  transition: transform 0.3s ease;
}

.has-submenu:hover .submenu-arrow,
.has-submenu.open .submenu-arrow {
  transform: rotate(180deg);
}

.submenu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(8px);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  min-width: 210px;
  padding: 12px 0 8px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.has-submenu:hover .submenu,
.has-submenu.open .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.submenu-link {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-dark);
  white-space: nowrap;
  transition: background 0.2s;
}

.submenu-link:hover {
  background: var(--color-bg-light, #f5f5f5);
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-image {
  width: 100%;
  height: 120%; /* For parallax */
  object-fit: cover;
  object-position: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(15, 17, 21, 0.3),
    rgba(15, 17, 21, 0.5)
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  margin-top: 60px;
}

.hero-title {
  font-size: 6rem;
  text-transform: uppercase;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 48px;
  opacity: 0.9;
  font-weight: 300;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0.7;
}

.scroll-indicator span {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}

.scroll-indicator .line {
  width: 1px;
  height: 60px;
  background-color: white;
  animation: scrollLine 2s infinite ease-in-out;
}

@keyframes scrollLine {
  0% {
    transform-origin: top;
    transform: scaleY(0);
  }
  50% {
    transform-origin: top;
    transform: scaleY(1);
  }
  51% {
    transform-origin: bottom;
    transform: scaleY(1);
  }
  100% {
    transform-origin: bottom;
    transform: scaleY(0);
  }
}

/* About Section */
.about-section {
  background-color: white;
}

.about-header {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 60px;
}

.about-header-left .section-title {
  margin-bottom: 24px;
}

.about-tagline {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-dark);
  text-align: justify;
}

.about-header-right p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 16px;
  text-align: justify;
}

.about-header-right p:last-child {
  margin-bottom: 0;
}

.about-gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.about-gallery-main {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
}

.about-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  overflow: hidden;
}

.about-image {
  width: 100%;
  display: block;
  border-radius: 4px;
  transition: transform 1.2s ease;
}

.about-image-wrapper:hover .about-image {
  transform: scale(1.05);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--color-accent);
  color: var(--color-bg-dark);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.experience-badge .years {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.experience-badge .label {
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.section-title {
  font-size: 3.5rem;
  margin-bottom: 24px;
  color: var(--color-text-dark);
}

.bg-dark .section-title {
  color: var(--color-text-main);
}

.section-desc {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
  max-width: 500px;
}

.stats-list {
  display: flex;
  gap: 48px;
  list-style: none;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 0.05em;
}

/* Certification Badges */
.cert-badges {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  align-items: center;
}

.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cert-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 8px;
}

.cert-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
}

/* Projects Section (Home) */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.project-card {
  position: relative;
}

.project-image-container {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  aspect-ratio: 4/5;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-overlay {
  position: absolute;
  top: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 16px;
  color: var(--color-bg-dark);
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
  transform: translateY(0);
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--color-text-main);
}

.project-location {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* ── Projects Page ───────────────────────────────────────────────────────────── */

.page-header {
  padding-top: 150px;
  padding-bottom: 70px;
  background-color: var(--color-bg-dark);
  text-align: center;
}

.page-header h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.page-header .section-desc {
  margin: 0 auto;
  text-align: center;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-text-muted);
  padding: 8px 22px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-text-main);
}

.filter-btn.active {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-bg-dark);
}

/* Projects Page Grid */
.projects-page-section {
  padding-top: 0;
}

.projects-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.project-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.project-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e222a 0%, #2a2f3a 100%);
}

.project-year {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  font-weight: 600;
  margin-top: 4px;
}

.no-projects {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 80px;
}

.service-item {
  display: flex;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid #eee;
  transition: border-color 0.3s;
}

.service-item:hover {
  border-color: var(--color-accent);
}

.service-icon {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
  opacity: 0.5;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.service-desc {
  color: #666;
  max-width: 400px;
}

/* Footer */
.footer {
  padding: 80px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 80px;
}

.footer-tagline {
  color: var(--color-text-muted);
  margin-top: 16px;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-col h4 {
  color: white;
  margin-bottom: 24px;
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-col a,
.footer-col p {
  display: block;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--color-accent);
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.75rem;
}

.social-links a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #666;
  font-size: 0.8rem;
}

/* Animations */
.reveal-text,
.reveal-image,
.reveal-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal-text.active,
.reveal-image.active,
.reveal-card.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
.mobile-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 1000;
}

.mobile-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: var(--color-text-main);
  transition: all 0.3s ease;
}

.navbar.scrolled .mobile-toggle .bar {
  background-color: var(--color-text-dark);
}

.mobile-toggle.active .bar {
  background-color: var(--color-bg-dark);
}

.mobile-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ── Project Detail Page ─────────────────────────────────────────────────────── */

.pd-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding-bottom: 80px;
}

.pd-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pd-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  filter: brightness(0.35);
}

.pd-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 17, 21, 0.96) 0%,
    rgba(15, 17, 21, 0.45) 55%,
    rgba(15, 17, 21, 0.15) 100%
  );
}

.pd-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 160px;
}

.pd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.pd-breadcrumb a {
  color: var(--color-text-muted);
  transition: color 0.3s;
}

.pd-breadcrumb a:hover {
  color: var(--color-accent);
}

.pd-breadcrumb span:last-child {
  color: rgba(255, 255, 255, 0.5);
}

.pd-category-badge {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-bg-dark);
  padding: 5px 18px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.pd-title {
  font-size: 4rem;
  color: var(--color-text-main);
  max-width: 780px;
  line-height: 1.05;
  margin-bottom: 16px;
}

.pd-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-top: 10px;
}

.pd-location svg {
  flex-shrink: 0;
  color: var(--color-accent);
}

/* Body layout */
.pd-body {
  padding: 80px 0 120px;
}

.pd-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 64px;
  align-items: start;
}

/* Sidebar */
.pd-sidebar {
  position: sticky;
  top: 100px;
}

.pd-meta-box {
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px;
  background: rgba(255, 255, 255, 0.025);
}

.pd-meta-heading {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pd-meta-list {
  display: flex;
  flex-direction: column;
}

.pd-meta-row {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pd-meta-row:last-child {
  border-bottom: none;
}

.pd-meta-row dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 5px;
}

.pd-meta-row dd {
  font-size: 0.95rem;
  color: var(--color-text-main);
  font-weight: 500;
  margin: 0;
}

/* Status chips */
.pd-status {
  display: inline-block;
  padding: 3px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pd-status--completed {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.28);
}

.pd-status--ongoing {
  background: rgba(212, 175, 55, 0.12);
  color: var(--color-accent);
  border: 1px solid rgba(212, 175, 55, 0.28);
}

.pd-status--undisclosed {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pd-back-link {
  display: inline-block;
  margin-top: 28px;
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding-bottom: 3px;
}

.pd-back-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.pd-back-link:hover::after {
  width: 100%;
}

/* Main content */
.pd-section-title {
  font-size: 1.6rem;
  color: var(--color-text-main);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.pd-description {
  margin-bottom: 64px;
}

.pd-description p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.95;
}

/* Gallery */
.pd-gallery-grid {
  columns: 3;
  column-gap: 12px;
}

.pd-gallery-item {
  display: block;
  width: 100%;
  break-inside: avoid;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  padding: 0;
  border: none;
  background: none;
}

.pd-gallery-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pd-gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 17, 21, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pd-gallery-item-overlay svg {
  color: white;
}

.pd-gallery-item:hover .pd-gallery-img {
  transform: scale(1.06);
}

.pd-gallery-item:hover .pd-gallery-item-overlay {
  opacity: 1;
}

/* Lightbox */
.pd-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.pd-lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.pd-lb-content {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.pd-lb-img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  display: block;
}

.pd-lb-caption {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  text-align: center;
}

.pd-lb-close,
.pd-lb-prev,
.pd-lb-next {
  position: absolute;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.pd-lb-close:hover,
.pd-lb-prev:hover,
.pd-lb-next:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-bg-dark);
}

.pd-lb-close {
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 1rem;
}

.pd-lb-prev,
.pd-lb-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 2.2rem;
}

.pd-lb-prev {
  left: 24px;
}

.pd-lb-next {
  right: 24px;
}

.iso-badge-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.iso-badge {
  max-width: 100%;
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
}

.activity-section {
  position: relative;
  width: 100%;
  height: 75vh;
  overflow: hidden;
  background: var(--color-bg-dark);
}

.activity-label {
  position: absolute;
  top: 44px;
  left: 80px;
  z-index: 10;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* Each slide sits absolutely inside the section */
.activity-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.activity-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Gradient: solid dark on left, fades to transparent at ~65% */
.activity-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 17, 21, 0.97) 0%,
    rgba(15, 17, 21, 0.9) 25%,
    rgba(15, 17, 21, 0.6) 45%,
    rgba(15, 17, 21, 0.15) 58%,
    transparent 68%
  );
}

/* Text content sits over the gradient on the left half */
.activity-content {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 50%;
  padding: 0 80px;
  color: var(--color-text-main);
  z-index: 2;
}

.activity-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 4px 12px;
  margin-bottom: 22px;
}

.activity-content .section-title {
  margin-bottom: 20px;
}

.activity-content .section-desc {
  max-width: 480px;
  margin-bottom: 0;
}

.activity-read-btn {
  display: inline-block;
  margin-top: 24px;
}

/* Prev / Next controls — bottom right */
.activity-controls {
  position: absolute;
  bottom: 44px;
  right: 64px;
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 10;
}

.activity-nav {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.activity-nav:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-bg-dark);
}

.activity-counter {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.05em;
  min-width: 38px;
  text-align: center;
}

.activity-counter-sep {
  margin: 0 3px;
  opacity: 0.4;
}

/* ── End Recent Activity Section ─────────────────────────────────────────────── */

/* Responsive – added inside media blocks below */

@media (max-width: 1024px) {
  .pd-layout {
    grid-template-columns: 250px 1fr;
    gap: 40px;
  }
  .pd-title {
    font-size: 3rem;
  }
  .pd-gallery-grid {
    columns: 2;
  }
}

/* ── End Project Detail Page ─────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .activity-label {
    left: 48px;
  }
  .activity-content {
    width: 62%;
    padding: 0 48px;
  }
  .activity-content .section-title {
    font-size: 2.2rem;
  }
  .activity-controls {
    right: 40px;
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 40px;
  }
  .hero-title {
    font-size: 4rem;
  }
  .grid-2 {
    gap: 40px;
  }
  .about-header {
    gap: 40px;
  }
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
  .projects-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-header h1 {
    font-size: 2.8rem;
  }
  .nav-links {
    gap: 24px;
  }
  .btn-primary {
    padding: 10px 20px;
    font-size: 0.8rem;
  }
  .logo {
    font-size: 1.5rem;
  }
  .logo-img {
    height: 65px;
  }
  .nav-link {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .activity-section {
    height: 92vh;
  }
  .activity-label {
    left: 24px;
    top: 28px;
  }
  .activity-overlay {
    background: linear-gradient(
      to bottom,
      transparent 25%,
      rgba(15, 17, 21, 0.88) 52%,
      rgba(15, 17, 21, 0.98) 100%
    );
  }
  .activity-content {
    width: 100%;
    top: auto;
    bottom: 110px;
    transform: none;
    padding: 0 24px;
  }
  .activity-content .section-title {
    font-size: 1.7rem;
  }
  .activity-controls {
    bottom: 32px;
    right: 24px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: var(--color-bg-light);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: 100px;
    transition: right 0.4s ease;
    box-shadow: -2px 0 15px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-link {
    color: var(--color-text-dark);
    font-size: 1.1rem;
    padding: 15px 30px;
    width: 100%;
    text-align: right;
  }

  .nav-link.btn-primary {
    color: var(--color-bg-dark);
    margin: 15px 30px;
    width: auto;
    text-align: center;
  }

  /* Mobile submenu */
  .has-submenu .submenu {
    position: static;
    opacity: 1;
    pointer-events: none;
    transform: none;
    display: none;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 0;
    padding: 0;
    min-width: 0;
  }

  .has-submenu.open .submenu {
    display: block;
    pointer-events: auto;
  }

  .submenu-link {
    padding: 12px 30px;
    font-size: 1rem;
    color: var(--color-text-dark);
    text-align: right;
  }

  .mobile-toggle {
    display: flex;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }
  .about-header {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-gallery {
    grid-template-columns: 1fr;
  }
  .about-gallery-main {
    aspect-ratio: 16/9;
  }
  .about-gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .about-gallery-grid img {
    aspect-ratio: 4/3;
  }
  .hero-title {
    font-size: 3rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .projects-page-grid {
    grid-template-columns: 1fr;
  }
  .page-header {
    padding-top: 120px;
    padding-bottom: 50px;
  }
  .page-header h1 {
    font-size: 2.2rem;
  }
  .filter-tabs {
    gap: 8px;
    margin-bottom: 32px;
  }
  .filter-btn {
    padding: 6px 14px;
    font-size: 0.8rem;
  }
  /* Project detail mobile */
  .pd-hero {
    min-height: 55vh;
  }
  .pd-title {
    font-size: 2rem;
  }
  .pd-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pd-sidebar {
    position: static;
  }
  .pd-gallery-grid {
    columns: 2;
  }
  .pd-lb-prev {
    left: 8px;
  }
  .pd-lb-next {
    right: 8px;
  }

  .about-image-wrapper {
    order: -1;
    overflow: hidden;
  }
  .experience-badge {
    right: 0;
    bottom: 0;
  }

  .logo {
    white-space: nowrap;
    font-size: 1.4rem;
  }
  .logo-img {
    height: 50px;
  }

  .footer-content {
    flex-direction: column;
    gap: 40px;
  }
  .footer-links {
    flex-direction: column;
    gap: 40px;
  }
  .iso-badge-wrapper {
    flex-wrap: wrap;
  }
  .iso-badge {
    height: 44px;
    max-width: 100%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 16px;
  }

  .hero-subtitle {
    font-size: 1rem;
    max-width: 100%;
  }

  .stats-list {
    flex-direction: column;
    gap: 24px;
  }

  .cert-badges {
    gap: 24px;
    margin-top: 32px;
  }

  .cert-img {
    width: 64px;
    height: 64px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .about-content {
    padding: 0;
  }

  .section-desc {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero-content {
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .about-gallery-grid {
    grid-template-columns: 1fr;
  }
  .about-gallery-grid img {
    aspect-ratio: 16/9;
  }
}

/* ===== Clients Marquee ===== */
.clients-section {
  background: #ffffff;
  padding: 16px 0 28px;
  overflow: hidden;
  border-top: 1px solid #ebebeb;
  border-bottom: 1px solid #ebebeb;
}

.clients-label {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.clients-track-wrapper {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

.clients-track {
  display: flex;
  width: max-content;
  animation: clients-scroll 28s linear infinite;
}

.clients-track:hover {
  animation-play-state: paused;
}

.clients-slide {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 48px;
}

.clients-slide img {
  width: 120px;
  height: 56px;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.clients-slide img:hover {
  filter: grayscale(0%) opacity(1);
}

@keyframes clients-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
:root {
    --color-bg-dark: #0f1115;
    --color-bg-light: #ffffff;
    --color-primary: #1a1d24;
    --color-accent: #d4af37;
    /* Metallic Gold */
    --color-text-main: #ffffff;
    --color-text-muted: #a0a0a0;
    --color-text-dark: #1a1d24;

    /* --font-heading: "Syne", sans-serif; */
    --font-heading: "Red Rose", serif;
    --font-body: "Inter", sans-serif;

    --container-width: 1280px;
    --padding-section: 120px 0;

    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* DEBUG MODE*/
/* * {
  outline: 1px dashed rgba(255, 0, 0, 0.3) !important;
} */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
}

.text-accent {
    color: var(--color-accent);
}

.text-white {
    color: var(--color-text-main) !important;
}

.text-gray {
    color: var(--color-text-muted) !important;
}

.text-stroke {
    -webkit-text-stroke: 1px var(--color-text-main);
    color: transparent;
}

.bg-dark {
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: var(--padding-section);
}

a {
    text-decoration: none;
    color: inherit;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-bg-dark);
    padding: 12px 28px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background-color: #bfa030;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 16px 36px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    transition: var(--transition-smooth);
    background: transparent;
}

.btn-secondary:hover {
    background: white;
    color: var(--color-bg-dark);
}

.btn-link {
    color: var(--color-accent);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    position: relative;
    padding-bottom: 4px;
}

.btn-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.btn-link:hover::after {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    background: transparent;
    color: var(--color-text-main);
    transition:
        background 0.4s ease,
        box-shadow 0.4s ease,
        color 0.4s ease,
        padding 0.4s ease;
}

.navbar.scrolled {
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    color: var(--color-text-dark);
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 70px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 48px;
    list-style: none;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 1;
}

.nav-link.btn-primary {
    color: var(--color-bg-dark);
    opacity: 1;
    /* fix mix blend mode issue on button */
    mix-blend-mode: normal;
}

/* Submenu Dropdown */
.has-submenu {
    position: relative;
}

.submenu-arrow {
    font-size: 0.6rem;
    margin-left: 4px;
    vertical-align: middle;
    display: inline-block;
    transition: transform 0.3s ease;
}

.has-submenu:hover .submenu-arrow,
.has-submenu.open .submenu-arrow {
    transform: rotate(180deg);
}

.submenu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(8px);
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    min-width: 210px;
    padding: 12px 0 8px;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.has-submenu:hover .submenu,
.has-submenu.open .submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.submenu-link {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-dark);
    white-space: nowrap;
    transition: background 0.2s;
}

.submenu-link:hover {
    background: var(--color-bg-light, #f5f5f5);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 120%;
    /* For parallax */
    object-fit: cover;
    object-position: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(15, 17, 21, 0.3),
            rgba(15, 17, 21, 0.5));
}

.hero-content {
    position: relative;
    z-index: 1;
    margin-top: 60px;
}

.hero-title {
    font-size: 6rem;
    text-transform: uppercase;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 48px;
    opacity: 0.9;
    font-weight: 300;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0.7;
}

.scroll-indicator span {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background-color: white;
    animation: scrollLine 2s infinite ease-in-out;
}

@keyframes scrollLine {
    0% {
        transform-origin: top;
        transform: scaleY(0);
    }

    50% {
        transform-origin: top;
        transform: scaleY(1);
    }

    51% {
        transform-origin: bottom;
        transform: scaleY(1);
    }

    100% {
        transform-origin: bottom;
        transform: scaleY(0);
    }
}

/* About Section */
.about-section {
    background-color: white;
}

.about-header {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.about-header-left .section-title {
    margin-bottom: 24px;
}

.about-tagline {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-dark);
    text-align: justify;
}

.about-header-right p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 16px;
    text-align: justify;
}

.about-header-right p:last-child {
    margin-bottom: 0;
}

.about-gallery {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.about-gallery-main {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 4px;
}

.about-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.about-gallery-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    overflow: hidden;
}

.about-image {
    width: 100%;
    display: block;
    border-radius: 4px;
    transition: transform 1.2s ease;
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--color-accent);
    color: var(--color-bg-dark);
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.experience-badge .years {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .label {
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: var(--color-text-dark);
}

.bg-dark .section-title {
    color: var(--color-text-main);
}

.section-desc {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
    max-width: 500px;
}

.stats-list {
    display: flex;
    gap: 48px;
    list-style: none;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text-dark);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.05em;
}

/* Certification Badges */
.cert-badges {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    align-items: center;
}

.cert-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.cert-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 8px;
}

.cert-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
}

/* Projects Section (Home) */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.project-card {
    position: relative;
}

.project-image-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    aspect-ratio: 4/5;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-overlay {
    position: absolute;
    top: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 16px;
    color: var(--color-bg-dark);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--color-text-main);
}

.project-location {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

/* ── Projects Page ───────────────────────────────────────────────────────────── */

.page-header {
    padding-top: 150px;
    padding-bottom: 70px;
    background-color: var(--color-bg-dark);
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-header .section-desc {
    margin: 0 auto;
    text-align: center;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-text-muted);
    padding: 8px 22px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-text-main);
}

.filter-btn.active {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg-dark);
}

/* Projects Page Grid */
.projects-page-section {
    padding-top: 0;
}

.projects-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.project-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.project-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e222a 0%, #2a2f3a 100%);
}

.project-year {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    font-weight: 600;
    margin-top: 4px;
}

.no-projects {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 0;
    color: var(--color-text-muted);
    font-size: 1rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 80px;
}

.service-item {
    display: flex;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
    transition: border-color 0.3s;
}

.service-item:hover {
    border-color: var(--color-accent);
}

.service-icon {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-accent);
    opacity: 0.5;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-desc {
    color: #666;
    max-width: 400px;
}

/* Footer */
.footer {
    padding: 80px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
}

.footer-tagline {
    color: var(--color-text-muted);
    margin-top: 16px;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-col a,
.footer-col p {
    display: block;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--color-accent);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.75rem;
}

.social-links a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #666;
    font-size: 0.8rem;
}

/* Animations */
.reveal-text,
.reveal-image,
.reveal-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-text.active,
.reveal-image.active,
.reveal-card.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
.mobile-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1000;
}

.mobile-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--color-text-main);
    transition: all 0.3s ease;
}

.navbar.scrolled .mobile-toggle .bar {
    background-color: var(--color-text-dark);
}

.mobile-toggle.active .bar {
    background-color: var(--color-bg-dark);
}

.mobile-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ── Project Detail Page ─────────────────────────────────────────────────────── */

.pd-hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    padding-bottom: 80px;
}

.pd-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.pd-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.04);
    filter: brightness(0.35);
}

.pd-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(15, 17, 21, 0.96) 0%,
            rgba(15, 17, 21, 0.45) 55%,
            rgba(15, 17, 21, 0.15) 100%);
}

.pd-hero-content {
    position: relative;
    z-index: 1;
    padding-top: 160px;
}

.pd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
    margin-bottom: 28px;
}

.pd-breadcrumb a {
    color: var(--color-text-muted);
    transition: color 0.3s;
}

.pd-breadcrumb a:hover {
    color: var(--color-accent);
}

.pd-breadcrumb span:last-child {
    color: rgba(255, 255, 255, 0.5);
}

.pd-category-badge {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-bg-dark);
    padding: 5px 18px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
}

.pd-title {
    font-size: 4rem;
    color: var(--color-text-main);
    max-width: 780px;
    line-height: 1.05;
    margin-bottom: 16px;
}

.pd-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-top: 10px;
}

.pd-location svg {
    flex-shrink: 0;
    color: var(--color-accent);
}

/* Body layout */
.pd-body {
    padding: 80px 0 120px;
}

.pd-layout {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 64px;
    align-items: start;
}

/* Sidebar */
.pd-sidebar {
    position: sticky;
    top: 100px;
}

.pd-meta-box {
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px;
    background: rgba(255, 255, 255, 0.025);
}

.pd-meta-heading {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pd-meta-list {
    display: flex;
    flex-direction: column;
}

.pd-meta-row {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pd-meta-row:last-child {
    border-bottom: none;
}

.pd-meta-row dt {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    font-weight: 600;
    margin-bottom: 5px;
}

.pd-meta-row dd {
    font-size: 0.95rem;
    color: var(--color-text-main);
    font-weight: 500;
    margin: 0;
}

/* Status chips */
.pd-status {
    display: inline-block;
    padding: 3px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pd-status--completed {
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.28);
}

.pd-status--ongoing {
    background: rgba(212, 175, 55, 0.12);
    color: var(--color-accent);
    border: 1px solid rgba(212, 175, 55, 0.28);
}

.pd-status--undisclosed {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pd-back-link {
    display: inline-block;
    margin-top: 28px;
    color: var(--color-accent);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    padding-bottom: 3px;
}

.pd-back-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.pd-back-link:hover::after {
    width: 100%;
}

/* Main content */
.pd-section-title {
    font-size: 1.6rem;
    color: var(--color-text-main);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.pd-description {
    margin-bottom: 64px;
}

.pd-description p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.95;
}

/* Gallery */
.pd-gallery-grid {
    columns: 3;
    column-gap: 12px;
}

.pd-gallery-item {
    display: block;
    width: 100%;
    break-inside: avoid;
    margin-bottom: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    padding: 0;
    border: none;
    background: none;
}

.pd-gallery-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pd-gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 17, 21, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pd-gallery-item-overlay svg {
    color: white;
}

.pd-gallery-item:hover .pd-gallery-img {
    transform: scale(1.06);
}

.pd-gallery-item:hover .pd-gallery-item-overlay {
    opacity: 1;
}

/* Lightbox */
.pd-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.pd-lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.pd-lb-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.pd-lb-img {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    display: block;
}

.pd-lb-caption {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    text-align: center;
}

.pd-lb-close,
.pd-lb-prev,
.pd-lb-next {
    position: absolute;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: white;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.pd-lb-close:hover,
.pd-lb-prev:hover,
.pd-lb-next:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg-dark);
}

.pd-lb-close {
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    font-size: 1rem;
}

.pd-lb-prev,
.pd-lb-next {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    font-size: 2.2rem;
}

.pd-lb-prev {
    left: 24px;
}

.pd-lb-next {
    right: 24px;
}

.iso-badge-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
}

.iso-badge {
    max-width: 100%;
    height: 60px;
    width: auto;
    display: block;
    object-fit: contain;
}

.activity-section {
    position: relative;
    width: 100%;
    height: 75vh;
    overflow: hidden;
    background: var(--color-bg-dark);
}

.activity-label {
    position: absolute;
    top: 44px;
    left: 80px;
    z-index: 10;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

/* Each slide sits absolutely inside the section */
.activity-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.activity-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* Gradient: solid dark on left, fades to transparent at ~65% */
.activity-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(15, 17, 21, 0.97) 0%,
            rgba(15, 17, 21, 0.9) 25%,
            rgba(15, 17, 21, 0.6) 45%,
            rgba(15, 17, 21, 0.15) 58%,
            transparent 68%);
}

/* Text content sits over the gradient on the left half */
.activity-content {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 50%;
    padding: 0 80px;
    color: var(--color-text-main);
    z-index: 2;
}

.activity-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    padding: 4px 12px;
    margin-bottom: 22px;
}

.activity-content .section-title {
    margin-bottom: 20px;
}

.activity-content .section-desc {
    max-width: 480px;
    margin-bottom: 0;
}

.activity-read-btn {
    display: inline-block;
    margin-top: 24px;
}

/* Prev / Next controls — bottom right */
.activity-controls {
    position: absolute;
    bottom: 44px;
    right: 64px;
    display: flex;
    align-items: center;
    gap: 18px;
    z-index: 10;
}

.activity-nav {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: transparent;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.activity-nav:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg-dark);
}

.activity-counter {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.05em;
    min-width: 38px;
    text-align: center;
}

.activity-counter-sep {
    margin: 0 3px;
    opacity: 0.4;
}

/* ── End Recent Activity Section ─────────────────────────────────────────────── */

/* Responsive – added inside media blocks below */

@media (max-width: 1024px) {
    .pd-layout {
        grid-template-columns: 250px 1fr;
        gap: 40px;
    }

    .pd-title {
        font-size: 3rem;
    }

    .pd-gallery-grid {
        columns: 2;
    }
}

/* ── End Project Detail Page ─────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .activity-label {
        left: 48px;
    }

    .activity-content {
        width: 62%;
        padding: 0 48px;
    }

    .activity-content .section-title {
        font-size: 2.2rem;
    }

    .activity-controls {
        right: 40px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }

    .hero-title {
        font-size: 4rem;
    }

    .grid-2 {
        gap: 40px;
    }

    .about-header {
        gap: 40px;
    }

    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }

    .projects-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-header h1 {
        font-size: 2.8rem;
    }

    .nav-links {
        gap: 24px;
    }

    .btn-primary {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo-img {
        height: 65px;
    }

    .nav-link {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .activity-section {
        height: 92vh;
    }

    .activity-label {
        left: 24px;
        top: 28px;
    }

    .activity-overlay {
        background: linear-gradient(to bottom,
                transparent 25%,
                rgba(15, 17, 21, 0.88) 52%,
                rgba(15, 17, 21, 0.98) 100%);
    }

    .activity-content {
        width: 100%;
        top: auto;
        bottom: 110px;
        transform: none;
        padding: 0 24px;
    }

    .activity-content .section-title {
        font-size: 1.7rem;
    }

    .activity-controls {
        bottom: 32px;
        right: 24px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--color-bg-light);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding-top: 100px;
        transition: right 0.4s ease;
        box-shadow: -2px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        color: var(--color-text-dark);
        font-size: 1.1rem;
        padding: 15px 30px;
        width: 100%;
        text-align: right;
    }

    .nav-link.btn-primary {
        color: var(--color-bg-dark);
        margin: 15px 30px;
        width: auto;
        text-align: center;
    }

    /* Mobile submenu */
    .has-submenu .submenu {
        position: static;
        opacity: 1;
        pointer-events: none;
        transform: none;
        display: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.03);
        border-radius: 0;
        padding: 0;
        min-width: 0;
    }

    .has-submenu.open .submenu {
        display: block;
        pointer-events: auto;
    }

    .submenu-link {
        padding: 12px 30px;
        font-size: 1rem;
        color: var(--color-text-dark);
        text-align: right;
    }

    .mobile-toggle {
        display: flex;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .about-header {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-gallery {
        grid-template-columns: 1fr;
    }

    .about-gallery-main {
        aspect-ratio: 16/9;
    }

    .about-gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .about-gallery-grid img {
        aspect-ratio: 4/3;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .projects-page-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding-top: 120px;
        padding-bottom: 50px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .filter-tabs {
        gap: 8px;
        margin-bottom: 32px;
    }

    .filter-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

    /* Project detail mobile */
    .pd-hero {
        min-height: 55vh;
    }

    .pd-title {
        font-size: 2rem;
    }

    .pd-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pd-sidebar {
        position: static;
    }

    .pd-gallery-grid {
        columns: 2;
    }

    .pd-lb-prev {
        left: 8px;
    }

    .pd-lb-next {
        right: 8px;
    }

    .about-image-wrapper {
        order: -1;
        overflow: hidden;
    }

    .experience-badge {
        right: 0;
        bottom: 0;
    }

    .logo {
        white-space: nowrap;
        font-size: 1.4rem;
    }

    .logo-img {
        height: 50px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 40px;
    }

    .iso-badge-wrapper {
        flex-wrap: wrap;
    }

    .iso-badge {
        height: 44px;
        max-width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 16px;
    }

    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }

    .stats-list {
        flex-direction: column;
        gap: 24px;
    }

    .cert-badges {
        gap: 24px;
        margin-top: 32px;
    }

    .cert-img {
        width: 64px;
        height: 64px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .about-content {
        padding: 0;
    }

    .section-desc {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-content {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .about-gallery-grid {
        grid-template-columns: 1fr;
    }

    .about-gallery-grid img {
        aspect-ratio: 16/9;
    }
}

/* ===== Clients Marquee ===== */
.clients-section {
    background: #ffffff;
    padding: 16px 0 28px;
    overflow: hidden;
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
}

.clients-label {
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.clients-track-wrapper {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right,
            transparent 0%,
            black 10%,
            black 90%,
            transparent 100%);
    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            black 10%,
            black 90%,
            transparent 100%);
}

.clients-track {
    display: flex;
    width: max-content;
    animation: clients-scroll 28s linear infinite;
}

.clients-track:hover {
    animation-play-state: paused;
}

.clients-slide {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 48px;
}

.clients-slide img {
    width: 120px;
    height: 56px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.clients-slide img:hover {
    filter: grayscale(0%) opacity(1);
}

@keyframes clients-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}